<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/list.css"/>
		<link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.18.3/dist/bootstrap-table.min.css">

		<!-- Latest compiled and minified JavaScript -->
		<script src="https://unpkg.com/bootstrap-table@1.18.3/dist/bootstrap-table.min.js"></script>
		<!-- Latest compiled and minified Locales -->
		<script src="https://unpkg.com/bootstrap-table@1.18.3/dist/locale/bootstrap-table-zh-CN.min.js"></script>
	</head>
	<body>
		<table id="express_list">

		</table>
		<script>
			$(function(){
				$("#express_list").bootstrapTable({
					url:"/express/list.do",//数据地址
					striped:true,//是否显示行的间隔
					pageNumber:1,//初始化加载第几页
					pagination:true,//是否分页
					sidePagination:'server',
					pageSize:8,
					pageList:[5,10,20],
					showRefresh:true,
					queryParams:function(params){
						var temp = {
							offset:params.offset,
							pageNumber:params.limit
						};
						return temp;
					},
					columns:[
						{
							title:"编号",
							field:"id",
							sortable:true
						},
						{
							title:"单号",
							field:"number",
							sortable:true
						},
						{
							title:"编号",
							field:"id",
							sortable:true
						},
						{
							title:"姓名",
							field:"username",
							sortable:true
						},
						{
							title:"电话",
							field:"userPhone",
							sortable:true
						},
						{
							title:"快递公司",
							field:"company",
							sortable:true
						},
						{
							title:"取件码",
							field:"code",
							sortable:true
						},
						{
							title:"入库时间",
							field:"intime",
							sortable:true
						},
						{
							title:"出库时间",
							field:"outtime",
							sortable:true
						},
						{
							title:"状态",
							field:"status",
							sortable:true
						},
						{
							title:"录入人电话",
							field:"sysPhone",
							sortable:true
						}
					]
				});
			});
		</script>

	</body>
</html>
